package com.fdd.op.sdk.response;


import com.fdd.op.sdk.FddResponse;
import com.fdd.op.sdk.domain.OAuth2AccessToken;
import com.fdd.op.sdk.internal.mapping.ApiField;

/**
 * API: /base/login/oauth2/accessToken response.
 *
 * @author Fadada
 * @date 2021/05/08
 */
public class AccessTokenResponse extends FddResponse {

    @ApiField("data")
    private OAuth2AccessToken accessToken;

    public OAuth2AccessToken getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(OAuth2AccessToken accessToken) {
        this.accessToken = accessToken;
    }
}
